<template>
  <div id="app">
    <!-- <div id="nav">
      黑马移动端
    </div> -->
    <!-- <button @click="getinstance1">发送axios请求</button>
    <button @click="getinstance2">发送axios请求</button> -->
    <router-view/>
  </div>
</template>
<script>
import { instance2 } from '@/utils/request'
export default {
  data () {
    return {

    }
  },
  methods: {
    getinstance1 () {
      instance2({
        method: 'GET',
        url: '/app/v1_0/user/channels'
      }).then(res => {
        console.log(res)
      }).catch(err => {
        console.log(err)
      })
    }
  }
}
</script>

<style scoped>
#nav {
  width: 300px;
  height:100px;
  background-color: pink;
}
</style>
